﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/EHTAdmin.Master" AutoEventWireup="true" CodeBehind="EHTCreateMenuIndex.aspx.cs" Inherits="EHTWebsiteProject.Administrator.EHTCreateMenuIndex" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MenuModulContent" runat="server">
        <div class="MenuSub-Left" >
        <table>
            <tr>
                <td> <img alt="" src="../images/EHTgiaodien/icon-add-48.jpeg" width="46px" height="46px" />&nbsp;</td>
                <td><asp:Label ID="lbAdd_Edit"  runat="server" Text="Thêm" ></asp:Label></td>
                <td><asp:Label ID="lbMenuSub" runat="server" Text="menu con" ></asp:Label></td>                
            </tr>
        </table>           
    </div>
    <div class="MenuSub-Right" align="right">
        <table style="height:60px">
            <tr>                               
               <td valign="middle">
                    <div class="add-edit-del">
                            <asp:ImageButton ID="ImgSave" 
                                ImageUrl="~/images/EHTgiaodien/icon-32-revert.png" runat="server" width="32px" 
                                height="32px" class="imagboder" onclick="ImgSave_Click"  />
                            <br />
                            <asp:Label ID="lbSave" runat="server" Text="Lưu"></asp:Label>
                        
                    </div>
                </td>
                <td valign="middle">
                    <div class="add-edit-del">
                            <asp:ImageButton ID="ImgApply" 
                                ImageUrl="~/images/EHTgiaodien/icon-16-checkin.png" runat="server" width="32px" 
                                height="32px" class="imagboder" onclick="ImgApply_Click"  />
                            <br />
                            <asp:Label ID="lbApply" runat="server" Text="Áp dụng"></asp:Label>
                        
                    </div>
                </td>
                <td valign="middle">
                    <div class="add-edit-del">
                        <a href="EHTMenusSub.aspx">
                            <img alt="" src="../images/EHTgiaodien/icon-32-cancel.png" width="32px" height="32px" class="imagboder" /><br />
                            <asp:Label ID="lbCancel" runat="server" Text="Hủy"></asp:Label>
                        </a>
                    </div>
                </td>
                 <td valign="middle">
                    <div class="add-edit-del">
                        <a href="#">
                            <img alt="" src="../images/EHTgiaodien/icon-32-help.png" width="32px" height="32px" class="imagboder" /><br />
                            <asp:Label ID="lbHelp" runat="server" Text="Trợ giúp"></asp:Label>
                        </a>
                    </div>
                </td>                
            </tr>
        </table>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">

 <asp:Literal ID="ltrErorr" runat="server"></asp:Literal>
    <div style="padding-top:10px">
        <table class="table"  border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <asp:Label ID="lbMenuNameVN" runat="server" Text="Tiêu đề"></asp:Label>
                </td>
                <th>
                    <asp:TextBox ID="txtMenuNameVN" CssClass="InputText" runat="server"></asp:TextBox>                    
                </th>                
            </tr>
             <tr>
                <td>
                    <asp:Label ID="lbMenuNameOther" runat="server" Text="Tiêu đề Other"></asp:Label>
                </td>
                <th>
                    <asp:TextBox ID="txtMenuNameOther" CssClass="InputText" runat="server"></asp:TextBox>                    
                </th>                
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lbParent" runat="server" Text="Menu cha"></asp:Label>
                </td>
                <th>
                    <asp:DropDownList ID="ddlMenuCha" runat="server" CssClass="InputText">
                    </asp:DropDownList>
                </th>    
            </tr>
               <tr>
                <td>
                    <asp:Label ID="lbDanhMucMenu" runat="server" Text="Danh mục menu"></asp:Label>
                </td>
                <th>
                    <asp:DropDownList ID="ddlDanhMucMenu" runat="server" CssClass="InputText">
                    </asp:DropDownList>
                </th>    
            </tr>             
             <tr>
                <td>
                    <asp:Label ID="lbThuTu" runat="server" Text="Thứ tự"></asp:Label>
                </td>
                <th>
                    <asp:TextBox ID="txtThuTu" runat="server" Text="1" CssClass="ThuTu"></asp:TextBox>
                </th>    
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lbUrl" runat="server" Text="Url"></asp:Label>
                </td>
                <th>
                    <asp:DropDownList ID="ddlListPage" runat="server" >
                    </asp:DropDownList>
                    <asp:TextBox ID="txtUrl" CssClass="InputText" Width="150px" runat="server"></asp:TextBox>
                    <asp:Button ID="btnOpen" runat="server" Text="Chọn" OnClientClick="openRadWin(); return false;" />
                    <span style="color:Red">
                       &nbsp;&nbsp;&nbsp;
                       (*) <asp:Label ID="lbErorrChoisce" runat="server" Text=""></asp:Label>  
                    </span>                                                                                  
                </th>    
            </tr>
             <tr>
                <td>
                    <asp:Label ID="lbIcon" runat="server" Text="Icon"></asp:Label>
                </td>
                <th>
                    <asp:Image ID="ImgIcon" runat="server" />
                    <br />
                    <asp:FileUpload ID="fulIcon" runat="server" />
                </th>    
            </tr>
        </table>      
    </div>    


    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
            <Windows>
                <telerik:RadWindow
                    id="RadWindow1"
                    runat="server"
                    showcontentduringload="false"
                    width="650px" 
                    Height="500px"                    
                    title="Telerik RadWindow"
                    behaviors="Default" >
                </telerik:RadWindow>
            </Windows>
            </telerik:RadWindowManager>
           <script type="text/javascript">
                        //<![CDATA[
               function openRadWin() {
                   var url = EHTWebsiteProject.Administrator.EHTCreateMenuIndex.GetUrl().value;
                   radopen(url.toString(),"RadWindow1");                  
               }               
                        
                        //]]>                                                                        
                        </script>
   
    </asp:Content>
